package com.ztgf.commodity.models.vo;

import com.ztgf.commodity.models.dto.CommoditySpecificationAttrDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * author: chenyu.wang
 * date: 2020-07-09 10:00
 * Description:商品规格列表VO
 */
@Data
public class CommoditySpecificationVO implements Serializable {

    @ApiModelProperty(value = "商品规格表id")
    private Long id;
    @ApiModelProperty(value = "规格名称")
    private String name;
    @ApiModelProperty(value = "状态 0正常，1删除")
    private Integer state;
    @ApiModelProperty(value = "是否发布 0未发布，1发布")
    private Integer isPublish;
    @ApiModelProperty(value = "排序")
    private Integer sort;
    @ApiModelProperty(value = "备注")
    private String notes;
    @ApiModelProperty(value = "规格属性值")
    private List<CommoditySpecificationAttrDTO> attrList;
}
